import { get,post } from '@/utils/request'
// 获取电池列表
export const getBatteryList = () => {
    return get('/api/get-battery-list')
}
// 修改
export const updBattery = (data: any) => {
    return post('/api/updBattery',data)
}
// 新建
// export const addBattery = (data: any) => {
//     return post('/api/addBattery',data)
// }
// 删除
export const delBattery = (data: any) => {
    return get('/api/delBattery',data)
}